#ifndef __THREAD_H_
#define __THREAD_H_

#include "Runnable.h"

class Thread
{
public:
	Thread();
	~Thread();
	
	Thread( Runnable *target );
	
public:
	virtual void run();
	
	void start();
	void stop();
	
protected:
	Runnable *_target;

//static
public: 
	static int activeCount();
protected:
	static int _threadCount;

	
};

#endif